﻿using AutoMapper;
using Hicap.AuthorizationServer.Core.Models.Sys;

namespace Hicap.AuthorizationServer.Sys.DTO.Users.LTMAutoMapper
{
    /// <summary>
    /// 配置User的AutoMapper
    /// </summary>
    internal static class CustomerUserMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            //    configuration.CreateMap <User, UserDto>();
            configuration.CreateMap<User, UserListDto>();
            configuration.CreateMap<UserEditDto, User>();
            configuration.CreateMap<UserListDto, UserEditDto>();
            // configuration.CreateMap<CreateUserInput, User>();
            //        configuration.CreateMap<User, GetUserForEditOutput>();
        }
    }
}